Skip to content

fix(opencode): include config api keys in auth list#7956

Open
staticpayload wants to merge 3 commits intoanomalyco:devfrom
staticpayload:fix/auth-list-config
Open

fix(opencode): include config api keys in auth list#7956
staticpayload wants to merge 3 commits intoanomalyco:devfrom
staticpayload:fix/auth-list-config

Conversation

@staticpayload
Copy link

@staticpayload staticpayload commented Jan 12, 2026

Fixes #4533

What changed:

  • Include providers configured via provider.options.apiKey in auth list when no auth entry exists
  • Add tests for config entries, precedence, and blank keys

Test:

  • bun test
  • bun turbo typecheck

Auth list skipped providers configured only via config API keys, which caused 'undefined' entries in the UI. Add config-based entries when no auth record exists and cover the precedence and blank-key cases.\n\nTest: bun test test/cli/auth-list.test.ts
@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

opencode auth list shows "undefined" for $schema and provider fields despite valid configuration

1 participant